package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Version: V1.0
 */
public interface SetmealDao {

    public void add(Setmeal setmeal);

    public void setAndCheckGroup(Map<String, Integer> map);

    public Page<Setmeal> findByCondition(String queryString);

    public long findCountBySetMealId(Integer id);

    public void deleteBySetmealId(Integer id);

    public void deleteById(Integer id);

    public List<Setmeal> findAll();

    public Setmeal findById(int id);
}
